package day5;

import day4.Exer.Dog;
import day4.Exer.Hedgehog;
import day4.Exer.Person;

public class Dogtest {
    public static void main(String[] args) {
        Person a=new Person("吕洞宾","男");
        Hedgehog b=new Hedgehog("刺猬");
        Dog c=new Dog("小黑");
        Dog d=new Dog("小白");
        c.bite(a);
        c.bite(b);
        c.bite(d);
    }
}
